package com.person.jiaiplan.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "everyday_write_log")
public class EverydayWriteLog {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 按日期，每天的写入只写当天的记录
     */
    @TableField(value = "save_time")
    private Date saveTime;

    /**
     * 内容概要
     */
    @TableField(value = "content_summary")
    private String contentSummary;

    /**
     * 问题总览
     */
    @TableField(value = "remaining_problems")
    private String remainingProblems;

    /**
     * 临时记
     */
    @TableField(value = "temporary_record")
    private String temporaryRecord;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 内容类型 1 内容概要 2 问题总览 3 临时记
     */
    @TableField(value = "content_type")
    private Integer contentType;
}